import type { IconProps } from "@tabler/icons-react"
import { memo } from "react"

const IconMagicTextLogo = memo(({ size = 24, className, style }: IconProps) => {
	const iconSize = typeof size === "string" ? parseInt(size, 10) : size

	return (
		<svg
			width={iconSize}
			height={((iconSize ?? 24) / 77) * 32}
			viewBox="0 0 77 32"
			fill="none"
			style={style}
			className={className}
		>
			<path
				d="M72.2719 22.4855C69.7796 22.4855 67.9308 21.7704 66.7255 20.3404C65.5202 18.89 64.9175 16.9799 64.9175 14.6101C64.9175 12.2403 65.5202 10.3302 66.7255 8.87979C67.9308 7.4089 69.7796 6.67346 72.2719 6.67346C73.845 6.67346 74.989 6.83689 75.704 7.16376C76.4394 7.49062 76.8072 8.07284 76.8072 8.91043C76.8072 9.50287 76.6437 9.93188 76.3169 10.1975C75.99 10.463 75.5508 10.5958 74.9992 10.5958C74.6111 10.5958 74.3046 10.5652 74.0799 10.5039C73.8552 10.4426 73.61 10.3915 73.3445 10.3507C73.0993 10.2894 72.7112 10.2587 72.18 10.2587C71.465 10.2587 70.893 10.4732 70.464 10.9023C70.0554 11.3313 69.7592 11.8828 69.5753 12.557C69.4119 13.2107 69.3302 13.8951 69.3302 14.6101C69.3302 15.3047 69.3915 15.9891 69.514 16.6632C69.657 17.3169 69.9328 17.8583 70.3414 18.2873C70.75 18.6959 71.3731 18.9002 72.2107 18.9002C72.987 18.9002 73.559 18.8491 73.9267 18.747C74.2944 18.6244 74.6519 18.5631 74.9992 18.5631C75.5508 18.5631 75.99 18.6652 76.3169 18.8695C76.6437 19.0534 76.8072 19.4415 76.8072 20.034C76.8072 20.8716 76.4394 21.4946 75.704 21.9032C74.989 22.2914 73.845 22.4855 72.2719 22.4855Z"
				fill="currentColor"
				fillOpacity="0.8"
			/>
			<path
				d="M61.9901 20.4323C61.9901 21.8011 61.2751 22.4855 59.8451 22.4855C59.1505 22.4855 58.5989 22.322 58.1904 21.9952C57.7818 21.6479 57.5775 21.1269 57.5775 20.4323V8.75721C57.5775 8.10349 57.7409 7.59276 58.0678 7.22504C58.4151 6.85732 58.9871 6.67346 59.7838 6.67346C60.5805 6.67346 61.1423 6.85732 61.4692 7.22504C61.8165 7.59276 61.9901 8.10349 61.9901 8.75721V20.4323Z"
				fill="currentColor"
				fillOpacity="0.8"
			/>
			<path
				d="M40.6337 26.7534C40.6337 28.5126 41.451 29.8268 43.0857 30.6961C44.7204 31.5653 47.0601 32 50.1047 32C51.6781 32 52.8326 31.793 53.5682 31.3791C54.2834 30.9858 54.641 30.3649 54.641 29.5164C54.641 28.9162 54.4775 28.5126 54.1505 28.3057C53.8236 28.1194 53.3843 28.0263 52.8326 28.0263C52.4239 28.0263 52.0765 28.047 51.7905 28.0883C51.5044 28.1504 51.1979 28.2022 50.8709 28.2436C50.5236 28.3057 50.0945 28.3367 49.5836 28.3367C47.9694 28.3367 46.8149 28.2125 46.1201 27.9642C45.4049 27.7158 45.0473 27.2087 45.0473 26.443C45.0473 25.8014 45.3028 25.284 45.8136 24.8908C46.3244 24.4975 46.9681 24.3009 47.7446 24.3009C52.4443 24.3009 54.7942 21.7656 54.7942 16.695C54.7942 14.1079 54.2016 9.7995 53.0165 8.55772C51.8313 7.31594 50.0638 6.69504 47.7139 6.69504C46.161 6.69504 44.8737 6.9641 43.852 7.5022C43.3616 5.63953 42.3194 4.70819 40.7256 4.70819C39.9491 4.70819 39.3566 4.91515 38.9479 5.32908C38.5188 5.72231 38.3042 6.30181 38.3042 7.06758C38.3042 7.77126 38.5086 8.27832 38.9172 8.58876C39.3259 8.89921 39.9798 9.05443 40.8789 9.05443C41.2671 9.05443 41.6247 9.08548 41.9516 9.14757C41.073 10.3893 40.6337 14.5115 40.6337 16.726C40.6337 18.1127 40.838 19.2613 41.2467 20.172C41.6349 21.0826 42.3603 21.838 43.4229 22.4382C42.4012 22.8108 41.686 23.3903 41.2773 24.1767C40.8482 24.9425 40.6337 25.8014 40.6337 26.7534ZM50.3805 16.695C50.3805 19.282 49.4917 20.5756 47.7139 20.5756C45.9362 20.5756 45.0473 19.282 45.0473 16.695C45.0473 15.3497 45.2721 11.9726 45.7217 11.3517C46.1508 10.7308 46.8149 10.4204 47.7139 10.4204C48.5926 10.4204 49.2567 10.7308 49.7062 11.3517C50.1558 11.9726 50.3805 15.3497 50.3805 16.695Z"
				fill="currentColor"
				fillOpacity="0.8"
			/>
			<path
				d="M57.8839 4.41265C58.3946 4.90294 59.0279 5.14809 59.7838 5.14809C60.5601 5.14809 61.1934 4.90294 61.6837 4.41265C62.1944 3.92235 62.4498 3.3197 62.4498 2.60469C62.4498 1.84882 62.1944 1.22574 61.6837 0.735441C61.1934 0.245147 60.5601 0 59.7838 0C59.0279 0 58.3946 0.245147 57.8839 0.735441C57.3732 1.22574 57.1178 1.84882 57.1178 2.60469C57.1178 3.3197 57.3732 3.92235 57.8839 4.41265Z"
				fill="currentColor"
				fillOpacity="0.8"
			/>
			<path
				d="M30.7121 22.4855C28.6692 22.4855 27.0757 22.0156 25.9317 21.0759C24.7877 20.1157 24.2157 18.8797 24.2157 17.368C24.2157 15.5907 24.9613 14.3037 26.4527 13.5069C27.9644 12.7102 30.1707 12.4344 33.0716 12.6796C32.9286 11.7398 32.6324 11.1065 32.183 10.7797C31.7335 10.4324 31.1922 10.2587 30.5589 10.2587C30.0481 10.2587 29.6191 10.2894 29.2718 10.3507C28.945 10.3915 28.6385 10.4426 28.3525 10.5039C28.0665 10.5652 27.7192 10.5958 27.3107 10.5958C26.7591 10.5958 26.3199 10.5039 25.993 10.32C25.6661 10.1157 25.5027 9.71737 25.5027 9.12493C25.5027 8.28735 25.8602 7.67448 26.5752 7.28633C27.3107 6.87775 28.4649 6.67346 30.0379 6.67346C32.5303 6.67346 34.3791 7.38847 35.5844 8.8185C36.7897 10.2281 37.3923 12.1178 37.3923 14.4875C37.3923 17.225 36.8918 19.2475 35.8908 20.5549C34.9102 21.8419 33.184 22.4855 30.7121 22.4855ZM28.6283 17.368C28.6283 18.5325 29.4148 19.1147 30.9879 19.1147C31.4986 19.1147 31.897 19.0227 32.183 18.8389C32.469 18.655 32.6733 18.2873 32.7958 17.7357C32.9388 17.1841 33.041 16.3568 33.1023 15.2536C33.0001 15.3558 32.8673 15.4273 32.7039 15.4681C32.5405 15.509 32.377 15.5294 32.2136 15.5294C30.8653 15.5294 29.9256 15.6622 29.3944 15.9278C28.8837 16.1729 28.6283 16.653 28.6283 17.368Z"
				fill="currentColor"
				fillOpacity="0.8"
			/>
			<path
				d="M2.20632 22.4855C0.735441 22.4855 0 21.7909 0 20.4017V13.0473C0 10.9635 0.490294 9.38029 1.47088 8.29756C2.4719 7.21483 3.90192 6.67346 5.76096 6.67346C8.29414 6.67346 10.0102 7.58255 10.909 9.40072C11.8079 7.58255 13.5239 6.67346 16.0571 6.67346C17.9162 6.67346 19.336 7.21483 20.3166 8.29756C21.3176 9.38029 21.8181 10.9635 21.8181 13.0473V20.4017C21.8181 21.7909 21.0827 22.4855 19.6118 22.4855C18.1409 22.4855 17.4054 21.7909 17.4054 20.4017V13.2924C17.4054 12.2506 17.2318 11.5049 16.8845 11.0555C16.5372 10.5856 15.9958 10.3507 15.2604 10.3507C13.7895 10.3507 13.0541 11.3313 13.0541 13.2924V20.2791C13.0541 21.6683 12.3391 22.3629 10.909 22.3629C9.47902 22.3629 8.76401 21.6683 8.76401 20.2791V13.2924C8.76401 11.3313 8.02857 10.3507 6.55768 10.3507C5.12766 10.3507 4.41265 11.3313 4.41265 13.2924V20.4017C4.41265 21.7909 3.67721 22.4855 2.20632 22.4855Z"
				fill="currentColor"
				fillOpacity="0.8"
			/>
		</svg>
	)
})

export default IconMagicTextLogo
